package com.docmgmt.mvp.dto;

import jakarta.validation.constraints.NotBlank;
import lombok.Data;

/**
 * Search Request
 *
 * @author Dora
 */
@Data
public class SearchRequest {

    @NotBlank(message = "Search keyword cannot be empty")
    private String keyword;

    private String type;  // file, folder, or null for all

    private String extension;  // File extension filter

    private Integer page = 1;

    private Integer pageSize = 20;
}
